package com.im.service.folderManage.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.im.service.dto.DocInfo;
import com.im.service.dto.FileBorrow;
import com.im.service.dto.FileUpload;
import com.im.service.dto.StageNode;

@Mapper
public interface IFolderManageOperDAO {
	public void insertDocInfo(DocInfo docInfo);
	
	public void updateDocInfo(DocInfo docInfo);
	
    public void insertFileUploadInfo(FileUpload fileUpload);
	
	public void updateFileUploadInfo(FileUpload fileUpload);
	
    public void insertBatchFileBorrowInfo(List<FileBorrow> fBorrows);
	
	public void updateFileBorrowInfo(FileBorrow fileBorrow);
	
	public void insertChildNodeInfo(StageNode stageNode);
	
	public void updateDocInfoStatusCdByDocInfoIds(Map<String, Object> param);
	
	public void updateFileBorrowInfoByDocInfoId(Map<String, Object> param);
	
	public void insertFileBorrowInfo(FileBorrow fBorrow);
	
	public void updateDocInfoStatusCdByDocInfoId(Map<String, Object> param);

	public void delFileUpload(Map<String, Object> param);
	
	public void insertFileUploadInfos(List<FileUpload> fileUploads);
	
	public void delFileUploads(Map<String, Object> param);
	
}
